using Newtonsoft.Json;
using System.Collections.Generic;

public class JSONUtil
{
    public static T Parse<T>(string json)
    {
        return JsonConvert.DeserializeObject<T>(json);
    }

    public static List<T> ParseList<T>(string json)
    {
        return JsonConvert.DeserializeObject<List<T>>(json);
    }
}